﻿using System.ComponentModel.DataAnnotations;

namespace RBAC_Class.Read.API.Dto
{
    public class RoleDto
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleID { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
        /// <summary>
        /// 权限ID
        /// </summary>
        public List<int> permissionID { get; set; }= new List<int>();
        /// <summary>
        /// 权限名称
        /// </summary>
        public List<string> PermissionName { get; set; }=new List<string>();
        
    }
}
